package com.alks.entity.data.entity;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class ExportPlanInfo extends PageParam implements Serializable {
    private static final long serialVersionUID = -9012226202759155296L;
    private String companyId;
    private String invoiceNo;
    private String lotNo;
    private String customPiNo;
    private String factory;
    private String factoryLotNo;
    private Double orderQty;
    private String containerNo;
    private Double outQty;
    private Double custPrice;
    private String custCur;
    private Double factoryPrice;
    private String factoryCur;
    private Double amount;
    private String styleNo;
    private String colorName;
    private String colorCode;
    private String brand;
    private String styleName;
    private String custStyle;
    private String season;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;
    private String factoryContractNo;
    private String orderType;
    private Double addPrice;

    public ExportPlanInfo() {
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public String getInvoiceNo() {
        return this.invoiceNo;
    }

    public String getLotNo() {
        return this.lotNo;
    }

    public String getCustomPiNo() {
        return this.customPiNo;
    }

    public String getFactory() {
        return this.factory;
    }

    public String getFactoryLotNo() {
        return this.factoryLotNo;
    }

    public Double getOrderQty() {
        return this.orderQty;
    }

    public String getContainerNo() {
        return this.containerNo;
    }

    public Double getOutQty() {
        return this.outQty;
    }

    public Double getCustPrice() {
        return this.custPrice;
    }

    public String getCustCur() {
        return this.custCur;
    }

    public Double getFactoryPrice() {
        return this.factoryPrice;
    }

    public String getFactoryCur() {
        return this.factoryCur;
    }

    public Double getAmount() {
        return this.amount;
    }

    public String getStyleNo() {
        return this.styleNo;
    }

    public String getColorName() {
        return this.colorName;
    }

    public String getColorCode() {
        return this.colorCode;
    }

    public String getBrand() {
        return this.brand;
    }

    public String getStyleName() {
        return this.styleName;
    }

    public String getCustStyle() {
        return this.custStyle;
    }

    public String getSeason() {
        return this.season;
    }

    public Date getDeliveryDate() {
        return this.deliveryDate;
    }

    public String getFactoryContractNo() {
        return this.factoryContractNo;
    }

    public String getOrderType() {
        return this.orderType;
    }

    public Double getAddPrice() {
        return this.addPrice;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public void setCustomPiNo(String customPiNo) {
        this.customPiNo = customPiNo;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public void setFactoryLotNo(String factoryLotNo) {
        this.factoryLotNo = factoryLotNo;
    }

    public void setOrderQty(Double orderQty) {
        this.orderQty = orderQty;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo;
    }

    public void setOutQty(Double outQty) {
        this.outQty = outQty;
    }

    public void setCustPrice(Double custPrice) {
        this.custPrice = custPrice;
    }

    public void setCustCur(String custCur) {
        this.custCur = custCur;
    }

    public void setFactoryPrice(Double factoryPrice) {
        this.factoryPrice = factoryPrice;
    }

    public void setFactoryCur(String factoryCur) {
        this.factoryCur = factoryCur;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public void setStyleNo(String styleNo) {
        this.styleNo = styleNo;
    }

    public void setColorName(String colorName) {
        this.colorName = colorName;
    }

    public void setColorCode(String colorCode) {
        this.colorCode = colorCode;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void setStyleName(String styleName) {
        this.styleName = styleName;
    }

    public void setCustStyle(String custStyle) {
        this.custStyle = custStyle;
    }

    public void setSeason(String season) {
        this.season = season;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public void setFactoryContractNo(String factoryContractNo) {
        this.factoryContractNo = factoryContractNo;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public void setAddPrice(Double addPrice) {
        this.addPrice = addPrice;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ExportPlanInfo)) {
            return false;
        } else {
            ExportPlanInfo other = (ExportPlanInfo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label311: {
                    Object this$orderQty = this.getOrderQty();
                    Object other$orderQty = other.getOrderQty();
                    if (this$orderQty == null) {
                        if (other$orderQty == null) {
                            break label311;
                        }
                    } else if (this$orderQty.equals(other$orderQty)) {
                        break label311;
                    }

                    return false;
                }

                Object this$outQty = this.getOutQty();
                Object other$outQty = other.getOutQty();
                if (this$outQty == null) {
                    if (other$outQty != null) {
                        return false;
                    }
                } else if (!this$outQty.equals(other$outQty)) {
                    return false;
                }

                label297: {
                    Object this$custPrice = this.getCustPrice();
                    Object other$custPrice = other.getCustPrice();
                    if (this$custPrice == null) {
                        if (other$custPrice == null) {
                            break label297;
                        }
                    } else if (this$custPrice.equals(other$custPrice)) {
                        break label297;
                    }

                    return false;
                }

                Object this$factoryPrice = this.getFactoryPrice();
                Object other$factoryPrice = other.getFactoryPrice();
                if (this$factoryPrice == null) {
                    if (other$factoryPrice != null) {
                        return false;
                    }
                } else if (!this$factoryPrice.equals(other$factoryPrice)) {
                    return false;
                }

                label283: {
                    Object this$amount = this.getAmount();
                    Object other$amount = other.getAmount();
                    if (this$amount == null) {
                        if (other$amount == null) {
                            break label283;
                        }
                    } else if (this$amount.equals(other$amount)) {
                        break label283;
                    }

                    return false;
                }

                Object this$addPrice = this.getAddPrice();
                Object other$addPrice = other.getAddPrice();
                if (this$addPrice == null) {
                    if (other$addPrice != null) {
                        return false;
                    }
                } else if (!this$addPrice.equals(other$addPrice)) {
                    return false;
                }

                label269: {
                    Object this$companyId = this.getCompanyId();
                    Object other$companyId = other.getCompanyId();
                    if (this$companyId == null) {
                        if (other$companyId == null) {
                            break label269;
                        }
                    } else if (this$companyId.equals(other$companyId)) {
                        break label269;
                    }

                    return false;
                }

                label262: {
                    Object this$invoiceNo = this.getInvoiceNo();
                    Object other$invoiceNo = other.getInvoiceNo();
                    if (this$invoiceNo == null) {
                        if (other$invoiceNo == null) {
                            break label262;
                        }
                    } else if (this$invoiceNo.equals(other$invoiceNo)) {
                        break label262;
                    }

                    return false;
                }

                Object this$lotNo = this.getLotNo();
                Object other$lotNo = other.getLotNo();
                if (this$lotNo == null) {
                    if (other$lotNo != null) {
                        return false;
                    }
                } else if (!this$lotNo.equals(other$lotNo)) {
                    return false;
                }

                label248: {
                    Object this$customPiNo = this.getCustomPiNo();
                    Object other$customPiNo = other.getCustomPiNo();
                    if (this$customPiNo == null) {
                        if (other$customPiNo == null) {
                            break label248;
                        }
                    } else if (this$customPiNo.equals(other$customPiNo)) {
                        break label248;
                    }

                    return false;
                }

                label241: {
                    Object this$factory = this.getFactory();
                    Object other$factory = other.getFactory();
                    if (this$factory == null) {
                        if (other$factory == null) {
                            break label241;
                        }
                    } else if (this$factory.equals(other$factory)) {
                        break label241;
                    }

                    return false;
                }

                Object this$factoryLotNo = this.getFactoryLotNo();
                Object other$factoryLotNo = other.getFactoryLotNo();
                if (this$factoryLotNo == null) {
                    if (other$factoryLotNo != null) {
                        return false;
                    }
                } else if (!this$factoryLotNo.equals(other$factoryLotNo)) {
                    return false;
                }

                Object this$containerNo = this.getContainerNo();
                Object other$containerNo = other.getContainerNo();
                if (this$containerNo == null) {
                    if (other$containerNo != null) {
                        return false;
                    }
                } else if (!this$containerNo.equals(other$containerNo)) {
                    return false;
                }

                label220: {
                    Object this$custCur = this.getCustCur();
                    Object other$custCur = other.getCustCur();
                    if (this$custCur == null) {
                        if (other$custCur == null) {
                            break label220;
                        }
                    } else if (this$custCur.equals(other$custCur)) {
                        break label220;
                    }

                    return false;
                }

                Object this$factoryCur = this.getFactoryCur();
                Object other$factoryCur = other.getFactoryCur();
                if (this$factoryCur == null) {
                    if (other$factoryCur != null) {
                        return false;
                    }
                } else if (!this$factoryCur.equals(other$factoryCur)) {
                    return false;
                }

                Object this$styleNo = this.getStyleNo();
                Object other$styleNo = other.getStyleNo();
                if (this$styleNo == null) {
                    if (other$styleNo != null) {
                        return false;
                    }
                } else if (!this$styleNo.equals(other$styleNo)) {
                    return false;
                }

                label199: {
                    Object this$colorName = this.getColorName();
                    Object other$colorName = other.getColorName();
                    if (this$colorName == null) {
                        if (other$colorName == null) {
                            break label199;
                        }
                    } else if (this$colorName.equals(other$colorName)) {
                        break label199;
                    }

                    return false;
                }

                Object this$colorCode = this.getColorCode();
                Object other$colorCode = other.getColorCode();
                if (this$colorCode == null) {
                    if (other$colorCode != null) {
                        return false;
                    }
                } else if (!this$colorCode.equals(other$colorCode)) {
                    return false;
                }

                label185: {
                    Object this$brand = this.getBrand();
                    Object other$brand = other.getBrand();
                    if (this$brand == null) {
                        if (other$brand == null) {
                            break label185;
                        }
                    } else if (this$brand.equals(other$brand)) {
                        break label185;
                    }

                    return false;
                }

                Object this$styleName = this.getStyleName();
                Object other$styleName = other.getStyleName();
                if (this$styleName == null) {
                    if (other$styleName != null) {
                        return false;
                    }
                } else if (!this$styleName.equals(other$styleName)) {
                    return false;
                }

                label171: {
                    Object this$custStyle = this.getCustStyle();
                    Object other$custStyle = other.getCustStyle();
                    if (this$custStyle == null) {
                        if (other$custStyle == null) {
                            break label171;
                        }
                    } else if (this$custStyle.equals(other$custStyle)) {
                        break label171;
                    }

                    return false;
                }

                Object this$season = this.getSeason();
                Object other$season = other.getSeason();
                if (this$season == null) {
                    if (other$season != null) {
                        return false;
                    }
                } else if (!this$season.equals(other$season)) {
                    return false;
                }

                label157: {
                    Object this$deliveryDate = this.getDeliveryDate();
                    Object other$deliveryDate = other.getDeliveryDate();
                    if (this$deliveryDate == null) {
                        if (other$deliveryDate == null) {
                            break label157;
                        }
                    } else if (this$deliveryDate.equals(other$deliveryDate)) {
                        break label157;
                    }

                    return false;
                }

                label150: {
                    Object this$factoryContractNo = this.getFactoryContractNo();
                    Object other$factoryContractNo = other.getFactoryContractNo();
                    if (this$factoryContractNo == null) {
                        if (other$factoryContractNo == null) {
                            break label150;
                        }
                    } else if (this$factoryContractNo.equals(other$factoryContractNo)) {
                        break label150;
                    }

                    return false;
                }

                Object this$orderType = this.getOrderType();
                Object other$orderType = other.getOrderType();
                if (this$orderType == null) {
                    if (other$orderType != null) {
                        return false;
                    }
                } else if (!this$orderType.equals(other$orderType)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ExportPlanInfo;
    }

    public int hashCode() {
        int result = 1;
        Object $orderQty = this.getOrderQty();
        result = result * 59 + ($orderQty == null ? 43 : $orderQty.hashCode());
        Object $outQty = this.getOutQty();
        result = result * 59 + ($outQty == null ? 43 : $outQty.hashCode());
        Object $custPrice = this.getCustPrice();
        result = result * 59 + ($custPrice == null ? 43 : $custPrice.hashCode());
        Object $factoryPrice = this.getFactoryPrice();
        result = result * 59 + ($factoryPrice == null ? 43 : $factoryPrice.hashCode());
        Object $amount = this.getAmount();
        result = result * 59 + ($amount == null ? 43 : $amount.hashCode());
        Object $addPrice = this.getAddPrice();
        result = result * 59 + ($addPrice == null ? 43 : $addPrice.hashCode());
        Object $companyId = this.getCompanyId();
        result = result * 59 + ($companyId == null ? 43 : $companyId.hashCode());
        Object $invoiceNo = this.getInvoiceNo();
        result = result * 59 + ($invoiceNo == null ? 43 : $invoiceNo.hashCode());
        Object $lotNo = this.getLotNo();
        result = result * 59 + ($lotNo == null ? 43 : $lotNo.hashCode());
        Object $customPiNo = this.getCustomPiNo();
        result = result * 59 + ($customPiNo == null ? 43 : $customPiNo.hashCode());
        Object $factory = this.getFactory();
        result = result * 59 + ($factory == null ? 43 : $factory.hashCode());
        Object $factoryLotNo = this.getFactoryLotNo();
        result = result * 59 + ($factoryLotNo == null ? 43 : $factoryLotNo.hashCode());
        Object $containerNo = this.getContainerNo();
        result = result * 59 + ($containerNo == null ? 43 : $containerNo.hashCode());
        Object $custCur = this.getCustCur();
        result = result * 59 + ($custCur == null ? 43 : $custCur.hashCode());
        Object $factoryCur = this.getFactoryCur();
        result = result * 59 + ($factoryCur == null ? 43 : $factoryCur.hashCode());
        Object $styleNo = this.getStyleNo();
        result = result * 59 + ($styleNo == null ? 43 : $styleNo.hashCode());
        Object $colorName = this.getColorName();
        result = result * 59 + ($colorName == null ? 43 : $colorName.hashCode());
        Object $colorCode = this.getColorCode();
        result = result * 59 + ($colorCode == null ? 43 : $colorCode.hashCode());
        Object $brand = this.getBrand();
        result = result * 59 + ($brand == null ? 43 : $brand.hashCode());
        Object $styleName = this.getStyleName();
        result = result * 59 + ($styleName == null ? 43 : $styleName.hashCode());
        Object $custStyle = this.getCustStyle();
        result = result * 59 + ($custStyle == null ? 43 : $custStyle.hashCode());
        Object $season = this.getSeason();
        result = result * 59 + ($season == null ? 43 : $season.hashCode());
        Object $deliveryDate = this.getDeliveryDate();
        result = result * 59 + ($deliveryDate == null ? 43 : $deliveryDate.hashCode());
        Object $factoryContractNo = this.getFactoryContractNo();
        result = result * 59 + ($factoryContractNo == null ? 43 : $factoryContractNo.hashCode());
        Object $orderType = this.getOrderType();
        result = result * 59 + ($orderType == null ? 43 : $orderType.hashCode());
        return result;
    }

    public String toString() {
        return "ExportPlanInfo(companyId=" + this.getCompanyId() + ", invoiceNo=" + this.getInvoiceNo() + ", lotNo=" + this.getLotNo() + ", customPiNo=" + this.getCustomPiNo() + ", factory=" + this.getFactory() + ", factoryLotNo=" + this.getFactoryLotNo() + ", orderQty=" + this.getOrderQty() + ", containerNo=" + this.getContainerNo() + ", outQty=" + this.getOutQty() + ", custPrice=" + this.getCustPrice() + ", custCur=" + this.getCustCur() + ", factoryPrice=" + this.getFactoryPrice() + ", factoryCur=" + this.getFactoryCur() + ", amount=" + this.getAmount() + ", styleNo=" + this.getStyleNo() + ", colorName=" + this.getColorName() + ", colorCode=" + this.getColorCode() + ", brand=" + this.getBrand() + ", styleName=" + this.getStyleName() + ", custStyle=" + this.getCustStyle() + ", season=" + this.getSeason() + ", deliveryDate=" + this.getDeliveryDate() + ", factoryContractNo=" + this.getFactoryContractNo() + ", orderType=" + this.getOrderType() + ", addPrice=" + this.getAddPrice() + ")";
    }
}
